<?php
/*
 * Author: Quan Van Sinh
 * Email: sinhvnb@vietnambiz.com
 */
class logout{
function logout(){
    global $config;

    unset ($_SESSION['username']);
    unset ($_SESSION['password']);
    $location = $config['domain'].'/'. $config ['admin_section']. '/login';
    header("Location: $location");
    
}
}
?>
